package main


import (
"fmt"
"time"
)


func fang(){
   for {
    select {  


             case m:= <-c :
              fmt.Println("shenghuo",m)
    }

   }
   

}

var  c = make(chan int ,1)
func main(){

i:= 1

start:
   time.Sleep(time.Second*1)
   fmt.Println("ok")
   i++
   if   i < 5 {
      goto start
   }else{
      goto end
   }

 end :
   fmt.Println("end")
   time.Sleep(time.Second*100000)
   
}



